package com.taocyb.web.uc.buyer;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.taocyb.framework.security.simple.Authentication;
import com.taocyb.web.BaseLoginController;

/**
 * 我的买家
 */
@Controller
@RequestMapping(value = "/uc/buyer")
public class BuyerController extends BaseLoginController{
	
	/**
	 * 首页 
	 */
	@Authentication
	@RequestMapping(value = "")
	public String index(HttpServletRequest request, Model model){
		return this.taobao(request, model);
	}
	
	/**
	 * 淘宝买家首页 
	 */
	@Authentication
	@RequestMapping(value = "taobao")
	public String taobao(HttpServletRequest request, Model model){
		return "uc/buyer/taobao-index";
	}
	
	/**
	 * 拍拍买家首页 
	 */
	@Authentication
	@RequestMapping(value = "paipai")
	public String paipai(HttpServletRequest request, Model model){
		return "uc/buyer/paipai-index";
	}
	
	/**
	 * 保存
	 */
	@Authentication
	@RequestMapping(value = "save")
	public String save(HttpServletRequest request){
		return null;
	}
}
